package com.atguigu.dao;

import com.atguigu.pojo.OrderSetting;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;
@Repository
public interface OrderSettingDao {
    void addBatch(OrderSetting orderSetting);

    int findOrderSettingByOrderDate(Date orderDate);

    void edit(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map param);

    OrderSetting getOrderSettingByOrderDate(Date date);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
